package com.yxb.square.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxb.common.annotation.Excel;
import com.yxb.common.core.domain.BaseEntity;

/**
 * 家教广场对象 tutoring_square
 * 
 * @author 林德炫
 * @date 2025-03-28
 */
@Data
public class TutoringSquare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long requestId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 发布人 */
    @Excel(name = "发布人")
    private String name;

    /** 发布人手机 */
    @Excel(name = "发布人手机")
    private String phoneNumber;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;


    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 接单人 */
    @Excel(name = "接单人")
    private String teacherName;

    /** 接单人手机 */
    @Excel(name = "接单人手机")
    private String teacherContact;

    /** 接单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "接单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date acceptedTime;
}
